You can find the Random Encounters Settings Configuration File in MySaveWorldFolder\Storage\1521905890.sbm_ModularEncountersSpawner\Config-RandomEncounters.xml. The settings you can modify are listed below:
Setting:
EnableSpawns
XML:
<EnableSpawns>Value</EnableSpawns>
Chat Command:
/MES.Settings.RandomEncounters.EnableSpawns.Value
Description:
This setting allows you to Enable or Disable All Encounters from this Spawn Type.
This setting allows you to specify the cooldown time (in seconds) after a Random Encounter appears before another one can appear for the player. Value can be any integer number (should not be 0 or lower)
This setting allows you to specify how often the script should measure the player's distance to see if they've travelled far enough to trigger a Random Encounter spawn. Value can be any integer number (should not be 0 or lower)
This settings allows you to specify the distance a player must travel in space before a Random Encounter will spawn. Value can be any number (should not be 0 or lower)
This setting allows you to specify if there can should be a maximum amount of Random Encounter grids near the player area. The AreaSize property below specifies the radius to check. Value can be true or false
Setting:
AreaSize
XML:
<AreaSize>Value</AreaSize>
Chat Command:
/MES.Settings.RandomEncounters.AreaSize.Value
Description:
This setting allows you to specify the area to check for existing Random Encounters if MaxShipsPerArea is set to true. Value can be any number (should not be 0 or lower)
This setting allows you to specify the minimum distance a Random Encounter will appear from a player position. The distance is calculated as a random value between MinSpawnDistanceFromPlayer and MaxSpawnDistanceFromPlayer. Value can be any number (should not be 0 or lower and should be lower than MaxSpawnDistanceFromPlayer)
This setting allows you to specify the minimum distance a Random Encounter will appear from a player position. The distance is calculated as a random value between MinSpawnDistanceFromPlayer and MaxSpawnDistanceFromPlayer. Value can be any number (should not be 0 or lower and should be higher than MinSpawnDistanceFromPlayer)
This setting allows you to specify how many attempts the mod should make to find a suitable spot to spawn the Random Encounter. Value can take any integer number higher than 0
This setting allows you to specify if the spawn group frequency should be set no higher than a provided value. The MaxSpawnGroupFrequency value would be the frequency used if the spawn group frequency is above that value. Value can be set to true or false
This setting allows you to specify the spawning frequency of Random Encounters if UseMaxSpawnGroupFrequency is set to true. Value can be replaced with any number (no lower than 0).
This setting allows you to specify the minimum distance players must be from the encounter before despawn is triggered. Value can be replaced with any number (no lower than 0).